extends layout

block content
	script(src="./ckeditor/ckeditor.js")
	link(rel='stylesheet', href='./stylesheets/editor.css')
	.container-fluid
		.row-fluid
			.span3
				.well.sidebar-nav
					li.nav-header 管理
					ul.nav.nav-list
						li.active
							a(href='/editor') 添加新文章
						li
							a(href='#') 文章列表
			#jwrap
				form.vertical-form(method="post",action="#")
					div.form-group
						label(for="title") 标题
						input.form-control.input-lg(name="title",placeholder="请输入标题")

					div.form-group
						label(for="content") 内容
						textarea#editor1(name='editor1', rows='10', cols='80')
					button.btn.btn-info(type="submit") 发布
	script.
		CKEDITOR.replace( 'editor1' );
